class object:
	"""This class is a manipulator for import object"""
	#print (self.__doc__)
	#beginning of class suite
	def __init__(self, prefix='x_', developer='_', project='_', name='_', src=None, dest=None, inter=None, fields_src=[[]], fields_dest=[[]], name_src='', name_dest='', query_src='', query_dest=''):
		self.prefix=prefix
		self.developer=developer
		self.project=project
		self.name=name
		self.src=src
		self.dest=dest
		self.inter=inter
		self.fields_src=fields_src
		self.fields_dest=fields_dest
		self.name_src=name_src
		self.name_dest=name_dest
		self.query_src=query_src
		self.query_dest=query_dest

	def columns(self, fields):
		columns=[]
		for list in fields[1:]:
			columns+=[list[0]]
		return columns

	#end of class object suite

	class src_tb:
		"""This class is a manipulator for source table"""
		#print (self.__doc__)
		#beginning of class suite
		def __init__(self, name_src=self.name_src, src=self.src, ):
			self.name=name_src
			self.atable=src.atable()
			self.atable.name=self.name

		def _countself(self):
			return self.atable.countself()
			
		def _select(self, columns=[], clause=[]):
			return self.atable.select(columns, clause)
			
		def _count(self, clause=[]):
			return self.atable.count(clause)

		#end of class src_tb suite